
const express = require('express')
const router = express.Router()
// 导入路由处理模块
const shopping = require('../router_handel/shpping')
// 获取商品列表
router.post('/shoppingList', shopping.shoppingList)
// 添加商品列表
router.post('/shoppingListAdd', shopping.shoppingListAdd)
// 删除
router.post('/shoppingListDelete', shopping.shoppingListDelete)
// 获取所有商品
router.post('/shoppingAllList', shopping.shoppingAllList)
// 修改数据
router.post('/shoppingListChange', shopping.shoppingListChange)
// 排序
router.post('/shoppingListSrot', shopping.shoppingListSrot)
// 发货商品列表
router.post('/commodityList', shopping.commodityList)
// 删除发货商品

router.post('/commodityListDelete', shopping.commodityListDelete)
// 发货
router.post('/logisticsNumberAdd', shopping.logisticsNumberAdd)
// 发货搜索
router.post('/commoditySerach', shopping.commoditySerach)
// 导出发货表格
router.post('/commodityCreateExcel', shopping.commodityCreateExcel)
// 暴露路由
module.exports = router